package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.EmergencyRecord;

/**
 * 上报记录Mapper接口
 * 
 * @author ruoyi
 * @date 2021-06-30
 */
public interface EmergencyRecordMapper 
{
    /**
     * 查询上报记录
     * 
     * @param erId 上报记录ID
     * @return 上报记录
     */
    public EmergencyRecord selectEmergencyRecordById(Long erId);

    /**
     * 查询上报记录列表
     * 
     * @param emergencyRecord 上报记录
     * @return 上报记录集合
     */
    public List<EmergencyRecord> selectEmergencyRecordList(EmergencyRecord emergencyRecord);

    /**
     * 新增上报记录
     * 
     * @param emergencyRecord 上报记录
     * @return 结果
     */
    public int insertEmergencyRecord(EmergencyRecord emergencyRecord);

    /**
     * 修改上报记录
     * 
     * @param emergencyRecord 上报记录
     * @return 结果
     */
    public int updateEmergencyRecord(EmergencyRecord emergencyRecord);

    /**
     * 删除上报记录
     * 
     * @param erId 上报记录ID
     * @return 结果
     */
    public int deleteEmergencyRecordById(Long erId);

    /**
     * 批量删除上报记录
     * 
     * @param erIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteEmergencyRecordByIds(Long[] erIds);
}
